<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="${pageContext.request.contextPath}/styles//login.css" rel="stylesheet" type="text/css" />
	<title>安徽大学研究生联合培养网站-后台管理系统</title>
	<meta name="keywords" content="安徽大学研究生联合培养网站-后台管理系统"/>
	<meta name="description" content="安徽大学研究生联合培养网站-后台管理系统"/>
	<script src="${pageContext.request.contextPath}/scripts/jquery.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/login.js" type="text/javascript"></script>
	<link href="${pageContext.request.contextPath}/styles/images/skin.css" rel="stylesheet" type="text/css">
	
    <link href="${pageContext.request.contextPath}/styles/leftMenu.css" rel="stylesheet" type="text/css">
	<script src="${pageContext.request.contextPath}/scripts/prototype.lite.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/moo.fx.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/moo.fx.pack.js" type="text/javascript"></script>
</head>
<body>
<table width="100%" height="280" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF2FB">
  <tr>
    <td width="182" valign="top">
    	<div id="container">
    	<s:hidden value="#"></s:hidden>
    	<s:iterator value="#application.topPrivilegeList">
<%--     	<s:if test="#session.user.hasPrivilegeByName(name)"> --%>
	      <h1 class="type"><a href="javascript:void(0)">${name}</a></h1>
	      <div class="content">
	        <table width="100%" border="0" cellspacing="0" cellpadding="0">
	          <tr>
	            <td><img src="${pageContext.request.contextPath}/styles/images/menu_topline.gif" width="182" height="5" /></td>
	          </tr>
	        </table>
	        <ul class="MM">
	        	<!-- 二级菜单 -->
	        	<s:iterator value="children">
<%-- 		            <s:if test="#session.user.hasPrivilegeByName(name)"> --%>
			          <li><a href="${pageContext.request.contextPath}/${url}.action" target="main">${name}</a></li>
<%-- 		          	 </s:if> --%>
	            </s:iterator>
	        </ul>
	      </div>
<%-- 	      </s:if> --%>
	      </s:iterator>
      </div>
        <script type="text/javascript">
		var contents = document.getElementsByClassName('content');
		var toggles = document.getElementsByClassName('type');
	
		var myAccordion = new fx.Accordion(
			toggles, contents, {opacity: true, duration: 400}
		);
		myAccordion.showThisHideOpen(contents[0]);
		</script>
    </td>
  </tr>
</table>
</body>
</html>